<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
<title>后台管理系统</title>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/css.css">
<script src="__PUBLIC__/Admin/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/Common/Layer/layer.js"></script>
<script>
function check_form(){
		var mobile = $('#mobile').val();
		var pwd = $('#pwd').val();
		if(mobile == ''){
			layer.tips('请输入账号', '#mobile');
			return false;
		}
		if(pwd == ''){
			layer.tips('请输入密码', '#pwd');
			return false;
		}
}
</script>
</head>
<body>
<div class="list">
<form action="" method="post">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="details">
        <tbody>
	      <tr>
	      	<td width="35%"><div align="right">手机号：</div></td>
	      	<td width="65%"><input type="text" name="mobile" id="mobile" size="24" value="{$rows.mobile}" /> 
	      	手机号作为账户
            </td>
	      </tr>
	      <tr>
	      	<td width="35%"><div align="right">供应商名称：</div></td>
	      	<td width="65%"><input type="text" name="shoper_name" id="shoper_name" size="24" value="{$rows.shoper_name}" />
            </td>
	      </tr>
		  <tr>
	      	<td width="35%"><div align="right">状态：</div></td>
	      	<td width="65%">
				<input type="hidden" name="id" id="id" size="24" value="{$rows.id}" />
				<select name='status'>
					<option value='0'>禁用</option>
					<option value='1' <?php if($rows['status']==1) echo 'selected';?>>启用</option>
				</select>
            </td>
	      </tr>
          <tr>
            <td></td>
            <td><button type="submit" class="button" id="button" style="min-width:190px; background:#146AC1;" onclick="admin_add();">提交</button></td>
          </tr>
        </tbody>
  </table>
  
</div>


</body>
</html>
